#coding:utf-8
from proxy.api import app
from proxy.schedule import Schedule
import redis

def main():

    s = Schedule()
    s.run() # 运行调度器
    app.run() # 运行接口flask


if __name__ == '__main__':
    main()

